package com.funtl.oauth2.service.impl;

import com.funtl.oauth2.entity.TbUser;
import com.funtl.oauth2.mapper.TbUserMapper;
import com.funtl.oauth2.service.TbUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: wumz
 * @Date: 2020/8/7 14:42
 * @Version 1.0
 */

@Service
@SuppressWarnings("all")
public class TbUserServiceImpl implements TbUserService {

    @Autowired
    private TbUserMapper tbUserDao;

    @Override
    public TbUser getUserInfoByName(String username) {
        TbUser tbUser = tbUserDao.getUserInfoByName(username);
        return tbUser;
    }
}
